The Space-Stretch-Time Tradeoff in Distance Oracles
نویسنده
چکیده
We present distance oracles for weighted undirected graphs that return distances of stretch 2 and less. For the realistic case of sparse graphs, our distance oracle exhibit the three-way trade-off between space, stretch and query time – a phenomenon that does not occur in dense graphs. In particular, for any positive integer t and for any 1 ≤ α ≤ n, our distance oracle is of size O(m+ n/α) and returns stretch (1+2/(t+1)) distances in time O((α∆)), where ∆ = 2m/n is the average degree of the graph. The query time can be further reduced to O((α+∆)) at the expense of a small additive stretch. Consider, for example, the realistic case of graphs with m = Õ(n) edges and fix the query time to be Õ(n). Our distance oracles, then, return stretch 2 distances using space O(n) and stretch 5/3 distances using space O(n). University of Illinois, Urbana, IL 61801. Email: [email protected].
منابع مشابه
Distance Oracles for Sparse Graphs
Suppose you are given a large network, such as the Internet or the US road network. In many practical applications, one might be interested in querying shortest path distances between pairs of nodes of the network. However, attempting to implement a data structure that supports such operations will result either in a large query time, or large space requirement, both of which are undesirable. I...
متن کاملApproximating Approximate Distance Oracles
Given a finite metric space (V, d), an approximate distance oracle is a data structure which, when queried on two points u, v ∈ V , returns an approximation to the the actual distance between u and v which is within some bounded stretch factor of the true distance. There has been significant work on the tradeoff between the important parameters of approximate distance oracles (and in particular...
متن کاملApproximate Distance Oracles for Planar Graphs with Improved Query Time-Space Tradeoff
We consider approximate distance oracles for edge-weighted n-vertex undirected planar graphs. Given fixed ǫ > 0, we present a (1 + ǫ)-approximate distance oracle with O(n(log logn)) space and O((log logn)) query time. This improves the previous best product of query time and space of the oracles of Thorup (FOCS 2001, J. ACM 2004) and Klein (SODA 2002) from O(n log n) to O(n(log log n)).
متن کاملDistance Oracles for Stretch Less Than 2
We present distance oracles for weighted undirected graphs that return distances of stretch less than 2. For the realistic case of sparse graphs, our distance oracles exhibit a smooth three-way trade-off between space, stretch and query time — a phenomenon that does not occur in dense graphs. In particular, for any positive integer t and for any 1 ≤ α ≤ n, our distance oracle is of size O(m + n...
متن کاملFaster Approximate Distance Queries and Compact Routing in Sparse Graphs
A distance oracle is a compact representation of the shortest distance matrix of a graph. It can be queried to retrieve approximate distances and corresponding paths between any pair of vertices. A lower bound, due to Thorup and Zwick, shows that a distance oracle that returns paths of worst-case stretch (2k − 1) must require space Ω(n) for graphs over n nodes. The hard cases that enforce this ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2014